/*
 * Copyright 2020 tu.cn All right reserved. This software is the
 * confidential and proprietary information of tu.cn ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Tu.cn
 */
package com.worker.microsoft.service.impl;

import com.worker.microsoft.domain.OnedecFriendGroup;
import com.worker.microsoft.mapper.OnedecFriendGroupMapper;
import com.worker.microsoft.service.FriendService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 31014
 * @date 2020/7/24 2:53
 */
@Service
public class FriendServiceImpl implements FriendService {
    @Resource
    private OnedecFriendGroupMapper onedecFriendGroupMapper;

    public void insertFriendGroup(Integer eId) {
        final OnedecFriendGroup friendGroup = new OnedecFriendGroup();
        friendGroup.setEmpId(eId);
        friendGroup.setFriendGroupName("我的好友");
        onedecFriendGroupMapper.insertSelective(friendGroup);
    }
}